<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateCaCustomerExtends extends \App\Utils\CreateMigration
{
    function columns(Blueprint $table)
    {
        $table->text('medical_history')->nullable()->comment('就诊史');
        $table->text('disease_desc')->nullable()->comment('病情描述');
        $table->text('remark')->nullable()->comment('其他备注');
        $table->longText('disease_data')->nullable()->comment('疾病数据');
        $table->longText('visit_data')->nullable()->comment('回访数据');
        $table->longText('swt')->nullable()->comment('商务通内容');

    }

    function tableInfo()
    {
        return ['ca__customer_extends', '客户扩展信息'];
    }
}
